package com.alog.basic.day04;

/**
 * @Auther: Ye Zhengdong
 * @Date: 2019/1/16 17:10
 * @Description:
 */
public class Demo02MethodDefine {
    public static void main(String[] args) {
        sum(10, 20);
        System.out.println(sum(20, 30));
        int result = sum(30, 40);
        System.out.println(result);
    }

    public static int sum(int a , int b){
        int result = a + b ;
        return result;
    }
}
